﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin.master" AutoEventWireup="true" CodeFile="QLKhachHang.aspx.cs" Inherits="admin_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        AutoGenerateSelectButton="True" CellPadding="4" ForeColor="Black" 
        GridLines="Horizontal" 
        onselectedindexchanged="GridView1_SelectedIndexChanged" AllowPaging="True" 
        AllowSorting="True" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" 
        BorderWidth="1px" onpageindexchanging="GridView1_PageIndexChanging" 
        PageSize="3">
        <Columns>
            <asp:BoundField AccessibleHeaderText="MaCus" DataField="MaCus" 
                HeaderText="Ma khach hang" />
            <asp:BoundField AccessibleHeaderText="Username" DataField="Username" 
                HeaderText="Username" />
            <asp:BoundField AccessibleHeaderText="Banned" DataField="Banned" 
                HeaderText="Banned" />
            <asp:BoundField DataField="BanFromDate" HeaderText="Ban date" />
            <asp:BoundField DataField="BanToDate" HeaderText="To date" />
        </Columns>
        <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
        <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
        <SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#F7F7F7" />
        <SortedAscendingHeaderStyle BackColor="#4B4B4B" />
        <SortedDescendingCellStyle BackColor="#E5E5E5" />
        <SortedDescendingHeaderStyle BackColor="#242121" />
    </asp:GridView>
    <br />
    <asp:Label ID="lbSLBan" runat="server" ForeColor="White" 
        Text="So luong ngay ban:"></asp:Label>
    <br />
    <asp:TextBox ID="txtSLBan" runat="server" Enabled="False" Height="20px" 
        Width="80px"></asp:TextBox>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Button ID="btnUnban" runat="server" Text="Unban" Enabled="False" 
        Height="30px" onclick="btnUnban_Click" Width="95px" />
&nbsp;&nbsp;&nbsp;
    <asp:Button ID="btnClear" runat="server" Text="Clear selection" Enabled="False" 
        Height="30px" onclick="btnClear_Click" Width="95px" />
    <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <br />
    <asp:Label ID="lbLDBan" runat="server" ForeColor="White" 
        Text="Ly do ban:"></asp:Label>
    <br />
    <asp:TextBox ID="txtLDBan" runat="server" Height="95px" TextMode="MultiLine" 
        Width="430px" Enabled="False"></asp:TextBox>
&nbsp;<br />
    <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Button ID="btnBan" runat="server" Text="Ban" Enabled="False" Height="30px" 
        onclick="btnBan_Click" PostBackUrl="~/admin/QLKhachHang.aspx" Width="95px" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <br />
</asp:Content>

